package cn.edu.qzuie.artist.module.td.controller.admin.activity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 活动新增/修改 Request VO")
@Data
public class ActivitySaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-06-09")
    @NotNull(message = "结束时间不能为空")
    private LocalDateTime endTime;

    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.REQUIRED, example = "2025-03-09")
    @NotNull(message = "开始时间不能为空")
    private LocalDateTime startTime;

    @Schema(description = "活动名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "毕业展")
    @NotEmpty(message = "活动名称不能为空")
    private String activityName;

    @Schema(description = "人数", example = "0")
    private Integer maxNumber;

    @Schema(description = "评选规则")
    private String rules;

    @Schema(description = "参与要求")
    private String participationRules;

    @Schema(description = "奖励方法")
    private String rewardRules;

    @Schema(description = "活动状态：开始，暂停，结束", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "活动状态：开始，暂停，结束不能为空")
    private Integer activityState;

    @Schema(description = "介绍")
    private String description;

}